<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>QxOrm: qx::service::QxThreadPool Class Reference</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>

</head>
<body>
<div id="top"><!-- do not remove this div! -->


<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  <td id="projectlogo"><img alt="Logo" src="logo_qxorm.png"/></td>
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">QxOrm
   &#160;<span id="projectnumber">1.4.3</span>
   </div>
   <div id="projectbrief">C++ Object Relational Mapping library</div>
  </td>
  
  
  
 </tr>
 </tbody>
</table>
</div>

<!-- Generated by Doxygen 1.7.5.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li><a href="dirs.html"><span>Directories</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
</div>
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
  initNavTree('classqx_1_1service_1_1_qx_thread_pool.html','');
</script>
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#signals">Signals</a> &#124;
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pro-methods">Protected Member Functions</a> &#124;
<a href="#pro-attribs">Protected Attributes</a>  </div>
  <div class="headertitle">
<div class="title">qx::service::QxThreadPool Class Reference<div class="ingroups"><a class="el" href="group___qx_service.html">QxService : QxOrm library services engine to provide easy and powerful way to create C++ application server (to transfer data over network)</a></div></div>  </div>
</div>
<div class="contents">
<!-- doxytag: class="qx::service::QxThreadPool" -->
<p><a class="el" href="classqx_1_1service_1_1_qx_thread_pool.html" title="qx::service::QxThreadPool : thread-safe thread pool to manage list of threads for executing all trans...">qx::service::QxThreadPool</a> : thread-safe thread pool to manage list of threads for executing all transactions of <a class="el" href="classqx_1_1service_1_1_qx_service.html" title="qx::service::QxService&lt;INPUT, OUTPUT&gt; : concrete service class with INPUT parameters and OUTPUT param...">QxService</a> module  
 <a href="classqx_1_1service_1_1_qx_thread_pool.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="_qx_thread_pool_8h_source.html">QxThreadPool.h</a>&gt;</code></p>

<p><a href="classqx_1_1service_1_1_qx_thread_pool-members.html">List of all members.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="signals"></a>
Signals</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classqx_1_1service_1_1_qx_thread_pool.html#af72c728c7a64b9b8f7212643aee0590f">error</a> (const QString &amp;err, <a class="el" href="namespaceqx_1_1service.html#a4c5fd6d47c341024f698eebf7e49ff25">qx::service::QxTransaction_ptr</a> transaction)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classqx_1_1service_1_1_qx_thread_pool.html#a663355cc4b88661da3f3ec76d010f1ff">transactionStarted</a> (<a class="el" href="namespaceqx_1_1service.html#a4c5fd6d47c341024f698eebf7e49ff25">qx::service::QxTransaction_ptr</a> transaction)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classqx_1_1service_1_1_qx_thread_pool.html#af0ccc1be2770482e037fbe1871b50c65">transactionFinished</a> (<a class="el" href="namespaceqx_1_1service.html#a4c5fd6d47c341024f698eebf7e49ff25">qx::service::QxTransaction_ptr</a> transaction)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classqx_1_1service_1_1_qx_thread_pool.html#a9460758cf6e5f3538d38f9384a0462bb">serverIsRunning</a> (bool bIsRunning, <a class="el" href="classqx_1_1service_1_1_qx_server.html">qx::service::QxServer</a> *pServer)</td></tr>
<tr><td colspan="2"><h2><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classqx_1_1service_1_1_qx_thread_pool.html#afa675b368cfdd6a16d84f7cb0f5fbbf9">QxThreadPool</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classqx_1_1service_1_1_qx_thread_pool.html#abbae6745415c13c6a13d425f51867d46">~QxThreadPool</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classqx_1_1service_1_1_qx_thread.html">QxThread</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classqx_1_1service_1_1_qx_thread_pool.html#a06702c3d19b61c5532b6f6f9ff8ff6ce">getAvailable</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classqx_1_1service_1_1_qx_thread_pool.html#a22f5b305b6cb48b76360f2c986768f1e">setAvailable</a> (<a class="el" href="classqx_1_1service_1_1_qx_thread.html">QxThread</a> *p)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classqx_1_1service_1_1_qx_thread_pool.html#ab611f7b55a5d18f1489b3c6a2bc28a70">raiseError</a> (const QString &amp;err, <a class="el" href="namespaceqx_1_1service.html#a4c5fd6d47c341024f698eebf7e49ff25">QxTransaction_ptr</a> transaction)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classqx_1_1service_1_1_qx_thread_pool.html#a8dd9c17cb35914519a066e4066ad1eb0">sleepThread</a> (unsigned long msecs)</td></tr>
<tr><td colspan="2"><h2><a name="pro-methods"></a>
Protected Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classqx_1_1service_1_1_qx_thread_pool.html#a148a95c5702398e123acbe449e083879">run</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classqx_1_1service_1_1_qx_thread_pool.html#ae7e6de5400a65669a769876e2be938e0">runServer</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classqx_1_1service_1_1_qx_thread_pool.html#a0c212ba354edb06605d8d9e6f21b51ae">initServices</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classqx_1_1service_1_1_qx_thread_pool.html#aa8b9590dbad4719439686ac40580600d">clearServices</a> ()</td></tr>
<tr><td colspan="2"><h2><a name="pro-attribs"></a>
Protected Attributes</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">QList&lt; <a class="el" href="classqx_1_1service_1_1_qx_thread.html">QxThread</a> * &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classqx_1_1service_1_1_qx_thread_pool.html#a471c124187757891ce5c24785d3102e9">m_lstAllServices</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">List of all services created by 'QxThreadPool'.  <a href="#a471c124187757891ce5c24785d3102e9"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">QQueue&lt; <a class="el" href="classqx_1_1service_1_1_qx_thread.html">QxThread</a> * &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classqx_1_1service_1_1_qx_thread_pool.html#a00d20683f0843ff538c5e5a9a5d2e0b4">m_lstAvailable</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">List of services available to execute process.  <a href="#a00d20683f0843ff538c5e5a9a5d2e0b4"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classqx_1_1service_1_1_qx_thread_pool.html#a84a8d2d91184327d9cf269d5b3ec408d">m_bIsRunning</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Flag to indicate if thread is running.  <a href="#a84a8d2d91184327d9cf269d5b3ec408d"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">QMutex&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classqx_1_1service_1_1_qx_thread_pool.html#a63a298ec82ae948a2d1b342665a405a5">m_mutex</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Mutex =&gt; 'QxThreadPool' is thread-safe.  <a href="#a63a298ec82ae948a2d1b342665a405a5"></a><br/></td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"><p><a class="el" href="classqx_1_1service_1_1_qx_thread_pool.html" title="qx::service::QxThreadPool : thread-safe thread pool to manage list of threads for executing all trans...">qx::service::QxThreadPool</a> : thread-safe thread pool to manage list of threads for executing all transactions of <a class="el" href="classqx_1_1service_1_1_qx_service.html" title="qx::service::QxService&lt;INPUT, OUTPUT&gt; : concrete service class with INPUT parameters and OUTPUT param...">QxService</a> module </p>
<p><a href="http://www.qxorm.com/qxorm_en/tutorial_2.html" target="_blank">Click here to access to a tutorial to explain how to work with QxService module.</a> </p>

<p>Definition at line <a class="el" href="_qx_thread_pool_8h_source.html#l00073">73</a> of file <a class="el" href="_qx_thread_pool_8h_source.html">QxThreadPool.h</a>.</p>
</div><hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="afa675b368cfdd6a16d84f7cb0f5fbbf9"></a><!-- doxytag: member="qx::service::QxThreadPool::QxThreadPool" ref="afa675b368cfdd6a16d84f7cb0f5fbbf9" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">qx::service::QxThreadPool::QxThreadPool </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_qx_thread_pool_8h_source.html#l00087">87</a> of file <a class="el" href="_qx_thread_pool_8h_source.html">QxThreadPool.h</a>.</p>

</div>
</div>
<a class="anchor" id="abbae6745415c13c6a13d425f51867d46"></a><!-- doxytag: member="qx::service::QxThreadPool::~QxThreadPool" ref="abbae6745415c13c6a13d425f51867d46" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual qx::service::QxThreadPool::~QxThreadPool </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [inline, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_qx_thread_pool_8h_source.html#l00088">88</a> of file <a class="el" href="_qx_thread_pool_8h_source.html">QxThreadPool.h</a>.</p>

</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="aa8b9590dbad4719439686ac40580600d"></a><!-- doxytag: member="qx::service::QxThreadPool::clearServices" ref="aa8b9590dbad4719439686ac40580600d" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void qx::service::QxThreadPool::clearServices </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="af72c728c7a64b9b8f7212643aee0590f"></a><!-- doxytag: member="qx::service::QxThreadPool::error" ref="af72c728c7a64b9b8f7212643aee0590f" args="(const QString &amp;err, qx::service::QxTransaction_ptr transaction)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void qx::service::QxThreadPool::error </td>
          <td>(</td>
          <td class="paramtype">const QString &amp;&#160;</td>
          <td class="paramname"><em>err</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="namespaceqx_1_1service.html#a4c5fd6d47c341024f698eebf7e49ff25">qx::service::QxTransaction_ptr</a>&#160;</td>
          <td class="paramname"><em>transaction</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [signal]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a06702c3d19b61c5532b6f6f9ff8ff6ce"></a><!-- doxytag: member="qx::service::QxThreadPool::getAvailable" ref="a06702c3d19b61c5532b6f6f9ff8ff6ce" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classqx_1_1service_1_1_qx_thread.html">QxThread</a>* qx::service::QxThreadPool::getAvailable </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a0c212ba354edb06605d8d9e6f21b51ae"></a><!-- doxytag: member="qx::service::QxThreadPool::initServices" ref="a0c212ba354edb06605d8d9e6f21b51ae" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void qx::service::QxThreadPool::initServices </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="ab611f7b55a5d18f1489b3c6a2bc28a70"></a><!-- doxytag: member="qx::service::QxThreadPool::raiseError" ref="ab611f7b55a5d18f1489b3c6a2bc28a70" args="(const QString &amp;err, QxTransaction_ptr transaction)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void qx::service::QxThreadPool::raiseError </td>
          <td>(</td>
          <td class="paramtype">const QString &amp;&#160;</td>
          <td class="paramname"><em>err</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="namespaceqx_1_1service.html#a4c5fd6d47c341024f698eebf7e49ff25">QxTransaction_ptr</a>&#160;</td>
          <td class="paramname"><em>transaction</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a148a95c5702398e123acbe449e083879"></a><!-- doxytag: member="qx::service::QxThreadPool::run" ref="a148a95c5702398e123acbe449e083879" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void qx::service::QxThreadPool::run </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [protected, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="ae7e6de5400a65669a769876e2be938e0"></a><!-- doxytag: member="qx::service::QxThreadPool::runServer" ref="ae7e6de5400a65669a769876e2be938e0" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void qx::service::QxThreadPool::runServer </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a9460758cf6e5f3538d38f9384a0462bb"></a><!-- doxytag: member="qx::service::QxThreadPool::serverIsRunning" ref="a9460758cf6e5f3538d38f9384a0462bb" args="(bool bIsRunning, qx::service::QxServer *pServer)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void qx::service::QxThreadPool::serverIsRunning </td>
          <td>(</td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>bIsRunning</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classqx_1_1service_1_1_qx_server.html">qx::service::QxServer</a> *&#160;</td>
          <td class="paramname"><em>pServer</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [signal]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a22f5b305b6cb48b76360f2c986768f1e"></a><!-- doxytag: member="qx::service::QxThreadPool::setAvailable" ref="a22f5b305b6cb48b76360f2c986768f1e" args="(QxThread *p)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void qx::service::QxThreadPool::setAvailable </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classqx_1_1service_1_1_qx_thread.html">QxThread</a> *&#160;</td>
          <td class="paramname"><em>p</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a8dd9c17cb35914519a066e4066ad1eb0"></a><!-- doxytag: member="qx::service::QxThreadPool::sleepThread" ref="a8dd9c17cb35914519a066e4066ad1eb0" args="(unsigned long msecs)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void qx::service::QxThreadPool::sleepThread </td>
          <td>(</td>
          <td class="paramtype">unsigned long&#160;</td>
          <td class="paramname"><em>msecs</em></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_qx_thread_pool_8h_source.html#l00094">94</a> of file <a class="el" href="_qx_thread_pool_8h_source.html">QxThreadPool.h</a>.</p>

</div>
</div>
<a class="anchor" id="af0ccc1be2770482e037fbe1871b50c65"></a><!-- doxytag: member="qx::service::QxThreadPool::transactionFinished" ref="af0ccc1be2770482e037fbe1871b50c65" args="(qx::service::QxTransaction_ptr transaction)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void qx::service::QxThreadPool::transactionFinished </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="namespaceqx_1_1service.html#a4c5fd6d47c341024f698eebf7e49ff25">qx::service::QxTransaction_ptr</a>&#160;</td>
          <td class="paramname"><em>transaction</em></td><td>)</td>
          <td><code> [signal]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a663355cc4b88661da3f3ec76d010f1ff"></a><!-- doxytag: member="qx::service::QxThreadPool::transactionStarted" ref="a663355cc4b88661da3f3ec76d010f1ff" args="(qx::service::QxTransaction_ptr transaction)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void qx::service::QxThreadPool::transactionStarted </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="namespaceqx_1_1service.html#a4c5fd6d47c341024f698eebf7e49ff25">qx::service::QxTransaction_ptr</a>&#160;</td>
          <td class="paramname"><em>transaction</em></td><td>)</td>
          <td><code> [signal]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<hr/><h2>Member Data Documentation</h2>
<a class="anchor" id="a84a8d2d91184327d9cf269d5b3ec408d"></a><!-- doxytag: member="qx::service::QxThreadPool::m_bIsRunning" ref="a84a8d2d91184327d9cf269d5b3ec408d" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool <a class="el" href="classqx_1_1service_1_1_qx_thread_pool.html#a84a8d2d91184327d9cf269d5b3ec408d">qx::service::QxThreadPool::m_bIsRunning</a><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Flag to indicate if thread is running. </p>

<p>Definition at line <a class="el" href="_qx_thread_pool_8h_source.html#l00082">82</a> of file <a class="el" href="_qx_thread_pool_8h_source.html">QxThreadPool.h</a>.</p>

</div>
</div>
<a class="anchor" id="a471c124187757891ce5c24785d3102e9"></a><!-- doxytag: member="qx::service::QxThreadPool::m_lstAllServices" ref="a471c124187757891ce5c24785d3102e9" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QList&lt;<a class="el" href="classqx_1_1service_1_1_qx_thread.html">QxThread</a> *&gt; <a class="el" href="classqx_1_1service_1_1_qx_thread_pool.html#a471c124187757891ce5c24785d3102e9">qx::service::QxThreadPool::m_lstAllServices</a><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>List of all services created by 'QxThreadPool'. </p>

<p>Definition at line <a class="el" href="_qx_thread_pool_8h_source.html#l00080">80</a> of file <a class="el" href="_qx_thread_pool_8h_source.html">QxThreadPool.h</a>.</p>

</div>
</div>
<a class="anchor" id="a00d20683f0843ff538c5e5a9a5d2e0b4"></a><!-- doxytag: member="qx::service::QxThreadPool::m_lstAvailable" ref="a00d20683f0843ff538c5e5a9a5d2e0b4" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QQueue&lt;<a class="el" href="classqx_1_1service_1_1_qx_thread.html">QxThread</a> *&gt; <a class="el" href="classqx_1_1service_1_1_qx_thread_pool.html#a00d20683f0843ff538c5e5a9a5d2e0b4">qx::service::QxThreadPool::m_lstAvailable</a><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>List of services available to execute process. </p>

<p>Definition at line <a class="el" href="_qx_thread_pool_8h_source.html#l00081">81</a> of file <a class="el" href="_qx_thread_pool_8h_source.html">QxThreadPool.h</a>.</p>

</div>
</div>
<a class="anchor" id="a63a298ec82ae948a2d1b342665a405a5"></a><!-- doxytag: member="qx::service::QxThreadPool::m_mutex" ref="a63a298ec82ae948a2d1b342665a405a5" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QMutex <a class="el" href="classqx_1_1service_1_1_qx_thread_pool.html#a63a298ec82ae948a2d1b342665a405a5">qx::service::QxThreadPool::m_mutex</a><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Mutex =&gt; 'QxThreadPool' is thread-safe. </p>

<p>Definition at line <a class="el" href="_qx_thread_pool_8h_source.html#l00083">83</a> of file <a class="el" href="_qx_thread_pool_8h_source.html">QxThreadPool.h</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>C:/Dvlp/_Perso/QxOrm/include/QxService/<a class="el" href="_qx_thread_pool_8h_source.html">QxThreadPool.h</a></li>
</ul>
</div>
</div>
  <div id="nav-path" class="navpath">
    <ul>
      <li class="navelem"><a class="el" href="namespaceqx.html">qx</a>      </li>
      <li class="navelem"><a class="el" href="namespaceqx_1_1service.html">service</a>      </li>
      <li class="navelem"><a class="el" href="classqx_1_1service_1_1_qx_thread_pool.html">QxThreadPool</a>      </li>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&#160;</span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark">&#160;</span>Friends</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(10)"><span class="SelectionMark">&#160;</span>Defines</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>


    <li class="footer">Generated on Sun Dec 11 2016 13:41:22 for QxOrm by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.5.1 </li>
   </ul>
 </div>


</body>
</html>
